<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>注册</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/base/register.css"/>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/register.js"></script>
</head>
<body>
	<div class="register_div">
        <p class="main_help"><a href="#">返回主页</a>|<a href="#">帮助中心</a></p>
        <h1><a href="#" class="logo_text">超市生鲜管理平台</a></h1>
        <form action="${pageContext.request.contextPath }/do.register?method=1" method="post" >
            <table class="register_message">
                <tr>
                    <td class="type">员工编号：</td>
                    <td><input type="text" name="userId" class="input" id="userId"/></td>
                    <td class="explain">*No开头后接4位数字</td>
                    <td class="message" id="message1"></td>
                </tr>
                <tr>
                    <td class="type">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
                    <td><input type="password" name="password1" class="input" id="password1"/></td>
                    <td class="explain">*6-15个字母或数字</td>
                    <td class="message" id="message2"></td>
                </tr>
                <tr>
                    <td class="type">确认密码：</td>
                    <td><input type="password" name="password2" class="input" id="password2"/></td>
                    <td class="message" id="message3"></td>
                </tr>
                <tr>
                    <td class="type">选择职位：</td>
                    <td><input class="radio1" type="radio" name="position" value="manager"/>经理<input class="radio2" type="radio" name="position" value="accountable" checked="checked"/>出纳人</td>
                    <td class="message" id="message4"></td>
                </tr>
                <tr>
                    <td class="type">验&nbsp;&nbsp;证&nbsp;&nbsp;码：</td>
                    <td><input type="text" name="code" class="input code"  id="code"/>
                        <img class="code_image" id="img_code" src="${pageContext.request.contextPath }/do.getImage" />
                    </td>
                    <td class="explain"><a href="${pageContext.request.contextPath }/do.getImage?time=<%=new java.util.Date().toString() %>">看不清换一张？</a></td>
                    <td class="message" id="message5"></td>
                </tr>
            </table>
            <span class="go_register"><input type="submit" class="submit_button" value="马上注册"/></span>
        </form>
    </div>
</body>
</html>